<?hh

enum class ClsParent: mixed extends ClsRoot {}
enum class ClsChild: mixed extends ClsParent {}

class X {}
